package com.zhoug.http3.ssl;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * 信任所有主机的HostnameVerifier
 * 即不做验证
 * @Author 35574
 * @Date 2021/10/12
 * @Description
 */
public class TrustAllHostnameVerifier implements HostnameVerifier {

    @Override
    public boolean verify(String hostname, SSLSession session) {
        return true;
    }


}
